import request from '@/utils/request'

// 查询房源列表列表
export function getHouseslist(query) {
  return request({
    url: '/houses/houses/getHouseslist',
    method: 'post',
    params: query
  })
}

//查询详情
export function getcommunityType(sourceId) {
  return request({
    url: '/houses/houses/getcommunityType/' +sourceId,
    method: 'post'
  })
}